<?php
/**
 * Created by PhpStorm.
 * User: yangyou
 * Date: 2018/12/10 0010
 * Time: 16:30
 */

namespace app\index\model;


class InformationKeyword extends Base
{
    /**
     * Author:yang you
     * Time:2018-12-15 10:27:51
     * Describe:热门标签
     * @param string $limit
     */
    public function hotKeyword($limit = "8"){
        return $this
            ->where('is_display',1)
            ->orderRaw("update_time DESC")
            ->limit($limit)
            ->select();
    }


}